/**
******************************************************************************
* @file    BiquadPresets.c
* @author  Central Labs
* @version V1.0.0
* @date    18-August-2015
* @brief   This file contains presets for STA350BW equalizers
*          firmware driver.
******************************************************************************
* @attention
*
* <h2><center>&copy; COPYRIGHT 2013 STMicroelectronics</center></h2>
*
* Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
*        http://www.st.com/software_license_agreement_liberty_v2
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
******************************************************************************
*/

#include "BiquadPresets.h"


  /** @addtogroup MIDDLEWARES
  * @{
  */
  
  /** @addtogroup SOUND_TERMINAL_BIQUAD_CALCULATOR
  * @{
  */
  
  
  /** @defgroup SOUND_TERMINAL_BIQUAD_CALCULATOR_Exported_Constants
  * @{
  */
  
    /** @defgroup Biquad_Calculator_Presets Biquad Calculator Presets
  * @brief Those variables keep the coefficients values needed to setup 5 biquads 
  *        filters in order to obtain a standard equalization.
  * @{
  */
   /*!< Preset for flat equalization */
  uint32_t FLAT_EQ_PRESET[] = 
  { 
  0x000000, 0x000000, 0x000000, 0x000000, 0x400000, 
  0x000000, 0x000000, 0x000000, 0x000000, 0x400000,
  0x000000, 0x000000, 0x000000, 0x000000, 0x400000, 
  0x000000, 0x000000, 0x000000, 0x000000, 0x400000,
  0x000000, 0x000000, 0x000000, 0x000000, 0x400000
  };
  
  /*!< Preset for rock equalization */
  uint32_t ROCK_EQ_PRESET[] = 
  { 
  0x8063F0, 0x7F17E4, 0x7F9C2D, 0x80C709, 0x4010A7, 
  0x801E87, 0x7FBB5B, 0x7FE178, 0x803CC6, 0x4003EF,
  0x82CC70, 0x7B4B20, 0x7D338F, 0x8582E7, 0x3F98FC, 
  0x8B06F3, 0x66CDEC, 0x74F90C, 0x937E97, 0x42D9BD,
  0xB003C5, 0x20865C, 0x4FFC3A, 0xC7482C, 0x4C18BB
  };
  
  /*!< Preset for soft rock equalization */
  uint32_t SOFT_ROCK_EQ_PRESET[] = 
  { 
  0x8152F1, 0x7D0D6D, 0x7EAE10, 0x829CF9, 0x402BCE, 
  0x89CF16, 0x6F6CFA, 0x7630E9, 0x92795F, 0x3F0CD3,
  0x8039CC, 0x629B9B, 0x501818, 0xC4AD15, 0x5C09C3, 
  0x000000, 0x000000, 0x000000, 0x000000, 0x400000,
  0x000000, 0x000000, 0x000000, 0x000000, 0x400000
  };
  
  /*!< Preset for jazz equalization */
  uint32_t JAZZ_EQ_PRESET[] = 
  { 
  0x80EA21, 0x7DBC22, 0x7F15DE, 0x81C0A7, 0x40419A, 
  0x817E63, 0x7C6428, 0x7E819C, 0x82CACD, 0x406885,
  0x965CCB, 0x5EC01A, 0x69A334, 0x99B9E1, 0x43C302, 
  0xA695A5, 0x517AB2, 0x596A5A, 0xA3FE8A, 0x454361,
  0x000000, 0x000000, 0x000000, 0x000000, 0x400000
  };
  
  /*!< Preset for classical equalization */
  uint32_t CLASSICAL_EQ_PRESET[] = 
  { 
  0x804823, 0x7F6868, 0x7FB7DC, 0x808EE0, 0x40045B, 
  0x8168E3, 0x7C7CC7, 0x7E971C, 0x828752, 0x407DF3,
  0xB7796C, 0x1DA185, 0x488693, 0xD18C57, 0x486911, 
  0x000000, 0x000000, 0x000000, 0x000000, 0x400000,
  0x000000, 0x000000, 0x000000, 0x000000, 0x400000
  };
  
  /*!< Preset for dance equalization */
  uint32_t DANCE_EQ_PRESET[] = 
  { 
  0x80AE18, 0x7E859A, 0x7F5218, 0x8159FA, 0x401066, 
  0x857A38, 0x74A46F, 0x7A9175, 0x8A6BCD, 0x408390,
  0x802053, 0x7FBBB3, 0x7FDFAC, 0x80405F, 0x4001F6, 
  0xA695A5, 0x517AB2, 0x596A5A, 0xA3FE8A, 0x454361,
  0x000000, 0x000000, 0x000000, 0x000000, 0x400000
  };
  
  /*!< Preset for pop equalization */
  uint32_t POP_EQ_PRESET[] = 
  { 
  0x8032BA, 0x7F9D85, 0x7FCD44, 0x80654F, 0x3FFE94, 
  0x80D687, 0x7DB954, 0x7F2978, 0x81A372, 0x40519C,
  0x815EBB, 0x7C546C, 0x7EA144, 0x82A45F, 0x40839A, 
  0x907CFA, 0x6CEAFE, 0x7D1F45, 0x85A10F, 0x391DB8,
  0x000000, 0x000000, 0x000000, 0x000000, 0x400000
  };
  
  /*!< Preset for soft equalization */
  uint32_t SOFT_EQ_PRESET[] =  
  { 
  0x805110, 0x7F5983, 0x7FAEF2, 0x80A1B4, 0x400266, 
  0x81FCE5, 0x7C7A08, 0x7E031A, 0x83ED5A, 0x3FCC4E,
  0x9C8310, 0x459F31, 0x637CEF, 0xB3AFC8, 0x435882, 
  0xB09496, 0x1B5411, 0x4F6B69, 0xD64871, 0x4731BE,
  0xC2CD60, 0x00D4AB, 0x3D329F, 0xE96C74, 0x4ADF70
  };
  
  /*!< Preset for hard equalization */
  uint32_t HARD_EQ_PRESET[] = 
  { 
  0x803D30, 0x7F6525, 0x7FC2E3, 0x8079FF, 0x401081, 
  0xB03F22, 0x2FD8F1, 0x4FC0DD, 0xBE0422, 0x491176,
  0x8F022B, 0x63DF1C, 0x70FDD4, 0x97518E, 0x4267AA, 
  0x99587D, 0x5458D4, 0x66A782, 0xA1C686, 0x44F052,
  0x8C5CCE, 0x55B606, 0x4560E3, 0xCE65F7, 0x5C344E
  };
  
  /*!< Preset for party equalization */
  uint32_t PARTY_EQ_PRESET[] = 
  { 
  0x8078CF, 0x7ECA0D, 0x7F8785, 0x80F012, 0x402345, 
  0x84F7E1, 0x655C09, 0x6118F7, 0xB18D34, 0x4E7A88,
  0x828887, 0x79D2FE, 0x7D7778, 0x84C743, 0x40B2DE, 
  0x84F7E1, 0x655C09, 0x6118F7, 0xB18D34, 0x4E7A88,
  0x000000, 0x000000, 0x000000, 0x000000, 0x400000
  };
  
  /*!< Preset for vocal equalization */
  uint32_t VOCAL_EQ_PRESET[] = 
  { 
  0x80FE1D, 0x7DA18F, 0x7F01E2, 0x81F6BD, 0x4033D9, 
  0x88DC5C, 0x739027, 0x7723A3, 0x9091C5, 0x3DEF09,
  0x858363, 0x643E19, 0x66DD31, 0xAD55FA, 0x4AD560, 
  0x858363, 0x643E19, 0x66DD31, 0xAD55FA, 0x4AD560, 
  0x000000, 0x000000, 0x000000, 0x000000, 0x400000
  };
  
  /*!< Preset for hip hop equalization */
  uint32_t HIPHOP_EQ_PRESET[] =  
  { 
  0x8132D8, 0x7E2A61, 0x7ECD27, 0x82592C, 0x3FBE39, 
  0x85CD68, 0x73D6F9, 0x7A3297, 0x8A6C17, 0x40DE77,
  0x8C802C, 0x68DF92, 0x737FD3, 0x9479CF, 0x41534F, 
  0x80522B, 0x7F4100, 0x7FADE9, 0x80A3C4, 0x400DB1,
  0x80143B, 0x7FC82E, 0x7FEBC4, 0x80282E, 0x4007D1
  };
  
  /*!< Preset for dialog equalization */
  uint32_t DIALOG_EQ_PRESET[] = 
  { 
  0x81A0DC, 0x7C23F7, 0x7E5F23, 0x833315, 0x405479, 
  0x850F05, 0x746EA2, 0x7AF0FA, 0x8996FA, 0x40FD31,
  0x000000, 0x000000, 0x000000, 0x000000, 0x400000, 
  0x000000, 0x000000, 0x000000, 0x000000, 0x400000,
  0x000000, 0x000000, 0x000000, 0x000000, 0x400000
  };
  
  /*!< Preset for bass boost 1 equalization */
  uint32_t BASS_BOOST1_EQ_PRESET[] = 
  { 
  0x80F3D6, 0x7DEF78, 0x7F0C88, 0x81E357, 0x4016F6, 
  0x907CFA, 0x6CEAFE, 0x7D1F45, 0x85A10F, 0x391DB8,
  0x803600, 0x7F8E3E, 0x7FC9FF, 0x806B37, 0x400345, 
  0x000000, 0x000000, 0x000000, 0x000000, 0x400000, 
  0x000000, 0x000000, 0x000000, 0x000000, 0x400000
  };
  
  /*!< Preset for bass boost 2 equalization */
  uint32_t BASS_BOOST2_EQ_PRESET[] = 
  { 
  0x80D3DA, 0x7DE384, 0x7F2D2A, 0x81A2F9, 0x403DC5, 
  0x9C8DA2, 0x611150, 0x7D3429, 0x857911, 0x32F902,
  0x803301, 0x7F8DAA, 0x7FCCFE, 0x80653A, 0x40068D, 
  0x000000, 0x000000, 0x000000, 0x000000, 0x400000,
  0x000000, 0x000000, 0x000000, 0x000000, 0x400000
  };
  
  /*!< Preset for bass boost 3 equalization */
  uint32_t BASS_BOOST3_EQ_PRESET[] = 
  { 
  0x80B5CD, 0x7DC985, 0x7F4C08, 0x8165F8, 0x406A16,
  0xB0E9B7, 0x4D15F8, 0x7D5C30, 0x852C4F, 0x2898F4,
  0x803301, 0x7F8DAA, 0x7FCCFE, 0x80653A, 0x40068D,
  0x000000, 0x000000, 0x000000, 0x000000, 0x400000,
  0x000000, 0x000000, 0x000000, 0x000000, 0x400000
  };
    
  /**
  * @}
  */   
  
    /**
  * @}
  */   
  
  /**
  * @}
  */
  
  /**
  * @}
  */
  
  /**
  * @}
  */
  

/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
